<template>
  <div id="app">
 <router-view :key="key"></router-view>
  </div>
</template>

<script>
export default{
  computed:{
    key(){
      return this.$router.path+Math.random()
    }
  }
}
</script>

<style lang="scss" scoped>
#app{
  width: 100%;
  height: 100%;
}
</style>
